#ifndef CGUIRENDERER_H_
#define CGUIRENDERER_H_

#include "../model/ccolor.h"

/**
 * CGuiRenderer - abstract parent class for classes rendering gui
 * @author Michal Rost
 * @date 31.03.2008
 */
class CGuiRenderer : public CObject {
public:
  virtual void drawRect(int left, int top, int right, int bottom,
      unsigned char alpha, CColor color, int imgId) = 0;
  virtual void drawTextRect(int left, int top, int right, int bottom,
      int fontId, string text) = 0;
  virtual unsigned short calculateTTFWidth(int fontId, string text) = 0;
  virtual unsigned short calculateTTFHeight(int fontId) = 0;
  static string getClassName() {
    return "CGuiRenderer";
  }
};

#endif
